#!/bin/sh

# Create some devices and directories that Udev cannot handle due to them being required very early in the boot process, or by Udev itself
install -dv $FS_ROOT/lib/{firmware,udev/devices/pts}
if [ ! -c $FS_ROOT/lib/udev/devices/null ]; then
	mknod -m0666 $FS_ROOT/lib/udev/devices/null c 1 3
fi

# Remove an empty documentation directory:
rmdir -v $ROOT_FS/usr/share/doc/udev

cd $PKG_DIR/udev-config-20100128
make DESTDIR=$FS_ROOT install
